﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BusinessMindGrid.aspx.cs" Inherits="FantastPlatform.Community.UI.BusinessMindGrid" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.obg/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.obg/1999/xhtml">
<head runat="server">
    <title></title>
     <script type="text/javascript">
         var bmg = new FantastPlatform.UI.BusinessGrid({
             renderTo: 'bmg_div',
             url: '../Service/BusinessService.aspx?Action=SearchPrompt',
             border: false,
             width: tabs.getInnerWidth() - 2,
             height: tabs.getInnerHeight() - 2,
             tbar: [
               {
                    text: '编辑',
                    iconCls: 'edit',
                    tooltip: {
                        text: '编辑商业店铺',
                        title: '编辑商业店铺',
                        autoHide: true
                    },
                    handler: function () { bg.onEditBusinessClick(); }
                } ,'-', {
                    text: '人员信息',
                    iconCls: 'edit',
                    tooltip: {
                        text: '编辑商业店铺',
                        title: '编辑商业店铺',
                        autoHide: true
                    },
                    handler: function () { bg.onBusinessPersonClick(); }
                }, '-',
                {
                    text: '刷新',
                    iconCls: 'updata',
                    tooltip: {
                        text: '重新更新列表内容',
                        title: '列表刷新',
                        autoHide: true
                    },
                    handler: function () { bg.onUpdataBusinessClick(); }
                }]
         });
            bg.addListener('rowdblclick', function () { bg.onEditBusinessClick(); });
            bg.onUpdataBusinessClick();
    </script>
</head>
<body>
  <div id="bmg_div">    
    </div>
</body>
</html>
